/*
 * BooleanParser.h
 *
 *  Created on: Oct 26, 2011
 *      Author: zwx
 */

#ifndef BOOLEANPARSER_H_
#define BOOLEANPARSER_H_
#include "../Include/includes.h"
#include "BaseParser.h"
using namespace std;

class BooleanParser : public BaseParser{
public:
	BooleanParser();
	virtual ~BooleanParser();
	list<struct doc>* parse(char* query);
	list<struct doc>* intersect(struct posting* ps, int token_num);
};

#endif /* BOOLEANPARSER_H_ */
